package com.lt.lumentracks.entity.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;

import java.io.Serial;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 临时文件表
 * </p>
 *
 * @author swl
 * @since 2025-11-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("temp_file")
public class TempFile implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 文件的地址
     */
    @TableId(value = "file_url", type = IdType.INPUT)
    private String fileUrl;

    /**
     * 上传文件的用户
     */
    private Integer userId;

    /**
     * 插入时间
     */
    private LocalDateTime createTime;


}
